package com.ruoyi.purchase.mapper;

import com.ruoyi.purchase.domain.Brand;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.purchase.domain.Type;

import java.util.List;

/**
 * @Entity com.ruoyi.purchase.domain.Brand
 */
public interface BrandMapper extends BaseMapper<Brand> {

    public List<Brand> findAllBrand(Brand brand);

    /**
     * 通过id查找Brand
     * @param brandId
     * @return
     */
    public Brand findBrandById(Integer brandId);
    /**
     * 批量删除品牌信息
     *
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteUserByIds(Long[] ids);
}




